package com.lifa.service.impl;
/**
 * 123
 */
import com.lifa.dao.YuangongtchuizongDao;
import com.lifa.entity.Yuangongtchuizong;
import com.lifa.service.YuanfongtchuizongService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class YuangongtchuizongServiceImpl implements YuanfongtchuizongService {
    @Autowired
    private YuangongtchuizongDao yuangongtchuizongDao;


    @Override
    public long getTotalCount(String dianpu_Name) {
        return yuangongtchuizongDao.getTotalCount(dianpu_Name);
    }

    @Override
    public List<Yuangongtchuizong> query(String dianpu_Name, int offset, int limit) {
        return yuangongtchuizongDao.query(dianpu_Name,offset,limit);
    }
}
